package com.sz.business.dao;

import java.util.List;
import java.util.Map;

public interface IBusinessDAO {
	
	@SuppressWarnings("unchecked")
	public List queryBusiness(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public List queryBusinessDetail(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public List ModifyBusinessDetail(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public long queryBusinessCount(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")

	public List queryBusinessPage(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public long addBusiness(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public long delBusiness(Map map) throws Exception;

	@SuppressWarnings("unchecked")
	public long updateBusiness(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public String lockBusiness(Map map) throws Exception;

	@SuppressWarnings("unchecked")
	public List queryBusinessInfo(Map map) throws Exception;
}
